<div class="boxNavi">
	<div class="naviItem">
    	<div class="naviItems">
        	<ul>
                <li class="firstChild">
                    <ul class="tMargin0">
                    	<li><a href="{$smarty.const.LINK_NEWS}" class="newsCategory{if $strAction == "index" && !isset($intCate) && !isset($intSubCate)} active{/if}" {if $strAction == "index" && !isset($intCate) && !isset($intSubCate)}style="background-image:url({$smarty.const.HOST_IMG}category/n-tong-hop-active.gif);"{else}style="background-image:url({$smarty.const.HOST_IMG}category/n-tong-hop.gif)"{/if} onmouseover="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/n-tong-hop-active.gif)&quot;" {if $strAction == "index" && !isset($intCate) && !isset($intSubCate)}onmouseout="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/n-tong-hop-active.gif)&quot;"{else}onmouseout="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/n-tong-hop.gif)&quot;"{/if}>Tổng hợp</a></li>
                    	<li><a href="{$smarty.const.LINK_NEWS_ADD}" class="newsCategory{if $strAction == "add"} active{/if}" style="{if $strAction == "add"}background-image:url({$smarty.const.HOST_IMG}category/n-dang-tin-active.gif){else}background-image:url({$smarty.const.HOST_IMG}category/n-dang-tin.gif){/if}" onmouseover="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/n-dang-tin-active.gif)&quot;" {if $strAction == "add"}onmouseout="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/n-dang-tin-active.gif)&quot;"{else}onmouseout="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/n-dang-tin.gif)&quot;"{/if}>Đăng tin</a></li>
                        {*
                        <li><a href="{$smarty.const.LINK_NEWS_MINE}" class="newsCategory" {if $strAction == "mine"}style="background-image:url({$smarty.const.HOST_IMG}category/n-tong-hop-active.gif);"{else}style="background-image:url({$smarty.const.HOST_IMG}category/n-tong-hop.gif)";{/if}>Bài đã đăng</a></li>
                        *}
                        <li><a href="{$smarty.const.LINK_NEWS_SEARCH}" class="newsCategory{if $strAction == "search"} active{/if}" {if $strAction == "search"}style="background-image:url({$smarty.const.HOST_IMG}category/n-tim-kiem-active.gif);"{else}style="background-image:url({$smarty.const.HOST_IMG}category/n-tim-kiem.gif)"{/if} onmouseover="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/n-tim-kiem-active.gif)&quot;" {if $strAction == "search"}onmouseout="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/n-tim-kiem-active.gif)&quot;"{else}onmouseout="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/n-tim-kiem.gif)&quot;"{/if}>Tìm kiếm</a></li>
                    </ul>
                </li>
                {if $arrMenu}
                	{foreach item=item from=$arrMenu}
                    	<li>
                        	<h3>{$item.name}</h3>
                            {if $item.sub}
                            	<ul>
				               		{foreach item=sub from=$item.sub}
                                    	<li><a href="{link_list_news cateid=$item.categoryid subcateid=$sub.categoryid name=$item.name subname=$sub.name}" class="newsCategory{if isset($smarty.get.cat) && isset($smarty.get.sub) && $smarty.get.cat==$item.categoryid && $smarty.get.sub==$sub.categoryid} active{/if}" {if isset($smarty.get.cat) && isset($smarty.get.sub) && $smarty.get.cat==$item.categoryid && $smarty.get.sub==$sub.categoryid}style="background-image:url({$smarty.const.HOST_IMG}category/{$sub.icon_active});"{else}style="background-image:url({$smarty.const.HOST_IMG}category/{$sub.icon});"{/if} onmouseover="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/{$sub.icon_active}&quot;" {if isset($smarty.get.cat) && isset($smarty.get.sub) && $smarty.get.cat==$item.categoryid && $smarty.get.sub==$sub.categoryid}onmouseout="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/{$sub.icon_active})&quot;"{else}onmouseout="this.style.backgroundImage=&quot;url({$smarty.const.HOST_IMG}category/{$sub.icon})&quot;"{/if}>{$sub.name}</a></li>
                                    {/foreach}
                                </ul>
                            {/if}
                        </li>
                    {/foreach}
                {/if}
            </ul>
        </div>
   	</div>
</div>
